<?php
	switch ($reemplazo["id"]) {
		case "SERV_ABL":
			if ($object->obtener("serv_abl") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "SERV_ELECTRICIDAD":
			if ($object->obtener("serv_electricidad") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "SERV_GAS_ENVASADO":
			if ($object->obtener("serv_gas_envasado") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "SERV_GAS_NATURAL":
			if ($object->obtener("serv_gas_natural") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		case "SERV_RENTAS":
			if ($object->obtener("serv_rentas") == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page); 
		break;
		default: $html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$reemplazo["texto"],$html_page); break;
	}
?>